# 基础镜像
FROM openjdk:8u121-jre-alpine

WORKDIR /kaer
COPY target/kaer-tenant-service-1.0-SNAPSHOT.jar /kaer/kaer-tenant-service-1.0-SNAPSHOT.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
EXPOSE 8083
ENTRYPOINT ["java","-jar","kaer-tenant-service-1.0-SNAPSHOT.jar"]